import axios from 'axios'

// const BASEIP = "119.91.33.117";
const BASEIP = "localhost";

const BASE_ADDRESS = `http://${BASEIP}:9999/`;
const ARTICLE_ADDRESS = `http://${BASEIP}:9999/article/`;
const IMG_ADDRESS = `http://${BASEIP}:9999/img/`;


const service = axios.create({
    baseURL: `http://${BASEIP}:9999`,
    timeout: 5000,
})

export {ARTICLE_ADDRESS,BASEIP,IMG_ADDRESS,BASE_ADDRESS}
export default service